package com.example.startapp.entity;


    public class Commodity {


        private Integer commodityId;

        private String commodityName;

        private Double commodityPrice;

        private String commodityStatus;

        private Integer commodityQuantity;

        private Shop shop;

        // Constructors
        public Commodity() {
            this.commodityId = commodityId;
            this.commodityName = commodityName;
            this.commodityPrice = commodityPrice;
            this.commodityStatus = commodityStatus;
            this.commodityQuantity = commodityQuantity;
            this.shop = shop;
        }

        public Commodity(Integer commodityId, String commodityName, Double commodityPrice, String commodityStatus, Integer commodityQuantity, Shop shop) {
            this.commodityId = commodityId;
            this.commodityName = commodityName;
            this.commodityPrice = commodityPrice;
            this.commodityStatus = commodityStatus;
            this.commodityQuantity = commodityQuantity;
            this.shop = shop;
        }

        // Getters and Setters
        public Integer getCommodityId() {
            return commodityId;
        }

        public void setCommodityId(Integer commodityId) {
            this.commodityId = commodityId;
        }

        public String getCommodityName() {
            return commodityName;
        }

        public void setCommodityName(String commodityName) {
            this.commodityName = commodityName;
        }

        public Double getCommodityPrice() {
            return commodityPrice;
        }

        public void setCommodityPrice(Double commodityPrice) {
            this.commodityPrice = commodityPrice;
        }

        public String getCommodityStatus() {
            return commodityStatus;
        }

        public void setCommodityStatus(String commodityStatus) {
            this.commodityStatus = commodityStatus;
        }

        public Integer getCommodityQuantity() {
            return commodityQuantity;
        }

        public void setCommodityQuantity(Integer commodityQuantity) {
            this.commodityQuantity = commodityQuantity;
        }

        public Shop getShop() {
            return shop;
        }

        public void setShop(Shop shop) {
            this.shop = shop;
        }

        // Other methods such as toString, equals, and hashCode can be added if needed
    }


